<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>商品评价 | 社交商城</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Font Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
  
  <style>
    :root {
      --primary: #4F46E5;
      --secondary: #6B7280;
      --light: #F9FAFB;
      --dark: #1F2937;
      --white: #FFFFFF;
      --border: #E5E7EB;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      --radius: 8px;
      
      /* 不同风格风格主题色 */
      --style1: #3B82F6; /* 科技蓝 */
      --style2: #EC4899; /* 活力粉 */
      --style3: #10B981; /* 生态绿 */
      --style4: #F59E0B; /* 温暖橙 */
      --style5: #8B5CF6; /* 梦幻紫 */
      --style6: #111827; /* 商务黑 */
    }
    
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      background-color: #f5f5f5;
      color: var(--dark);
      min-height: 100vh;
      padding: 0;
      margin: 0;
      transition: background-color 0.3s ease;
    }
    
    .container {
      max-width: 420px;
      margin: 0 auto;
      background-color: var(--white);
      min-height: 100vh;
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: background-color 0.3s ease;
    }
    
    /* 评价列表页面容器 */
    .review-list {
      display: none;
      min-height: 100vh;
      flex-direction: column;
    }
    
    .review-list.active {
      display: flex;
      animation: fadeIn 0.3s ease forwards;
    }
    
    /* 顶部导航栏 */
    .page-header {
      padding: 18px 20px;
      position: relative;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
      z-index: 10;
    }
    
    .page-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
    
    .header-actions {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 15px;
    }
    
    .header-btn {
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .header-btn:active {
      transform: scale(0.9);
    }
    
    .back-btn {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--dark);
      font-size: 20px;
      cursor: pointer;
    }
    
    /* 评分总览 */
    .rating-overview {
      padding: 20px;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .total-rating {
      font-size: 40px;
      font-weight: 700;
      color: var(--primary);
      margin: 10px 0;
    }
    
    .rating-stars {
      color: #F59E0B;
      margin-bottom: 10px;
    }
    
    .rating-count {
      font-size: 14px;
      color: var(--secondary);
    }
    
    /* 评分分布 */
    .rating-distribution {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .distribution-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    
    .distribution-item {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
    }
    
    .distribution-star {
      width: 40px;
      font-size: 14px;
      color: var(--secondary);
    }
    
    .distribution-bar-container {
      flex: 1;
      height: 8px;
      background-color: #E5E7EB;
      border-radius: 4px;
      overflow: hidden;
    }
    
    .distribution-bar {
      height: 100%;
      background-color: var(--primary);
      border-radius: 4px;
    }
    
    .distribution-percent {
      width: 40px;
      font-size: 14px;
      text-align: right;
      color: var(--secondary);
    }
    
    /* 评价筛选 */
    .review-filter {
      padding: 12px 20px;
      display: flex;
      gap: 10px;
      overflow-x: auto;
      border-bottom: 1px solid var(--border);
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .filter-btn {
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 14px;
      white-space: nowrap;
      background-color: var(--light);
      color: var(--dark);
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .filter-btn.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 评价列表 */
    .reviews-container {
      flex: 1;
      overflow-y: auto;
      background-color: var(--white);
      transition: all 0.3s ease;
    }
    
    .review-item {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      transition: all 0.3s ease;
    }
    
    .review-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    
    .user-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
    }
    
    .user-name {
      font-size: 15px;
      font-weight: 500;
    }
    
    .review-date {
      font-size: 12px;
      color: var(--secondary);
      display: flex;
      align-items: center;
    }
    
    .review-body {
      margin-bottom: 12px;
    }
    
    .review-content {
      font-size: 15px;
      line-height: 1.5;
      margin-bottom: 10px;
    }
    
    .review-images {
      display: flex;
      gap: 8px;
      margin-bottom: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
    }
    
    .review-image {
      width: 90px;
      height: 90px;
      border-radius: 6px;
      background-size: cover;
      background-position: center;
      flex-shrink: 0;
    }
    
    .review-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--secondary);
    }
    
    .review-attributes {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 8px;
    }
    
    .review-attribute {
      padding: 3px 8px;
      background-color: var(--light);
      border-radius: 4px;
      font-size: 12px;
      color: var(--secondary);
    }
    
    .review-actions {
      display: flex;
      gap: 15px;
    }
    
    .review-action {
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .review-action:active {
      opacity: 0.7;
    }
    
    /* 加载更多 */
    .load-more {
      padding: 16px;
      text-align: center;
      background-color: var(--white);
      border-bottom: 1px solid var(--border);
    }
    
    .load-more-btn {
      padding: 8px 24px;
      border-radius: 6px;
      background-color: var(--light);
      color: var(--dark);
      border: 1px solid var(--border);
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .load-more-btn:active {
      background-color: #E5E7EB;
    }
    
    /* 样式切换器 */
    .style-switcher {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1010;
      background-color: white;
      border-radius: 8px;
      box-shadow: var(--shadow);
      overflow: hidden;
      width: 180px;
      transition: all 0.3s ease;
      transform: translateX(0);
      opacity: 1;
    }
    
    .style-switcher.hidden {
      transform: translateX(200px);
      opacity: 0;
      pointer-events: none;
    }
    
    .switcher-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1020;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .switcher-header {
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .switcher-close {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 16px;
      cursor: pointer;
    }
    
    .switcher-option {
      padding: 12px 16px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.2s;
      display: flex;
      align-items: center;
    }
    
    .switcher-color {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin-right: 10px;
    }
    
    .switcher-option:hover {
      background-color: #f9f9f9;
    }
    
    .switcher-option.active {
      background-color: var(--primary);
      color: white;
    }
    
    /* 风格1：科技蓝 */
    .style-1 {
      --primary: var(--style1);
    }
    
    .style-1 .rating-overview {
      background-color: rgba(59, 130, 246, 0.05);
    }
    
    /* 风格2：活力粉 */
    .style-2 {
      --primary: var(--style2);
    }
    
    .style-2 .page-header,
    .style-2 .filter-btn.active {
      background-color: var(--primary);
      color: white;
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    .style-2 .header-btn,
    .style-2 .page-title,
    .style-2 .back-btn {
      color: white;
    }
    
    .style-2 .review-item {
      border-radius: var(--radius);
      margin: 10px;
      border: none;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    /* 风格3：生态绿 */
    .style-3 {
      --primary: var(--style3);
    }
    
    .style-3 .container {
      background-color: #F8FAFC;
    }
    
    .style-3 .rating-overview,
    .style-3 .rating-distribution,
    .style-3 .review-filter,
    .style-3 .reviews-container,
    .style-3 .load-more {
      background-color: var(--white);
      border-radius: var(--radius);
      margin: 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }
    
    .style-3 .review-item {
      border-bottom: none;
      padding: 16px 0;
    }
    
    .style-3 .reviews-container {
      padding: 0 16px;
    }
    
    /* 风格4：温暖橙 */
    .style-4 {
      --primary: var(--style4);
    }
    
    .style-4 .review-attribute {
      background-color: rgba(245, 158, 11, 0.1);
      color: #B45309;
    }
    
    .style-4 .rating-stars {
      color: var(--primary);
    }
    
    /* 风格5：梦幻紫 */
    .style-5 {
      --primary: var(--style5);
    }
    
    .style-5 .container {
      background-color: #FCFAFF;
    }
    
    .style-5 .rating-overview {
      border-radius: 0 0 20px 20px;
      margin-bottom: -10px;
      position: relative;
      z-index: 2;
    }
    
    .style-5 .review-filter {
      border-radius: 20px 20px 0 0;
      position: relative;
      z-index: 1;
    }
    
    /* 风格6：商务黑 */
    .style-6 {
      --primary: #60A5FA;
      --secondary: #9CA3AF;
      --light: #1F2937;
      --dark: #F9FAFB;
      --white: #111827;
      --border: #374151;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .style-6 body {
      background-color: #030712;
    }
    
    .style-6 .container {
      background-color: var(--white);
    }
    
    .style-6 .page-header,
    .style-6 .rating-overview,
    .style-6 .rating-distribution,
    .style-6 .review-filter,
    .style-6 .reviews-container,
    .style-6 .load-more,
    .style-6 .review-item {
      background-color: var(--light);
      border-bottom-color: var(--border);
    }
    
    .style-6 .header-btn,
    .style-6 .page-title,
    .style-6 .back-btn,
    .style-6 .user-name,
    .style-6 .review-content,
    .style-6 .filter-btn {
      color: var(--dark);
    }
    
    .style-6 .filter-btn {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    .style-6 .review-attribute {
      background-color: rgba(255, 255, 255, 0.1);
      color: var(--secondary);
    }
    
    .style-6 .style-switcher {
      background-color: var(--light);
    }
    
    .style-6 .switcher-header {
      border-bottom-color: var(--border);
      color: var(--dark);
    }
    
    .style-6 .switcher-option {
      color: var(--dark);
    }
    
    .style-6 .switcher-option:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 动画效果 */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    /* 响应式调整 */
    @media (max-width: 360px) {
      .total-rating {
        font-size: 36px;
      }
      
      .review-image {
        width: 80px;
        height: 80px;
      }
    }
  </style>
</head>
<body class="style-1">
  <!-- 样式切换器 -->
  <button class="switcher-toggle">
    <i class="fa fa-paint-brush"></i>
  </button>
  
  <div class="style-switcher hidden">
    <div class="switcher-header">
      选择页面样式
      <button class="switcher-close"><i class="fa fa-times"></i></button>
    </div>
    <div class="switcher-option active" data-style="1">
      <span class="switcher-color" style="background-color: var(--style1);"></span>
      科技蓝
    </div>
    <div class="switcher-option" data-style="2">
      <span class="switcher-color" style="background-color: var(--style2);"></span>
      活力粉
    </div>
    <div class="switcher-option" data-style="3">
      <span class="switcher-color" style="background-color: var(--style3);"></span>
      生态绿
    </div>
    <div class="switcher-option" data-style="4">
      <span class="switcher-color" style="background-color: var(--style4);"></span>
      温暖橙
    </div>
    <div class="switcher-option" data-style="5">
      <span class="switcher-color" style="background-color: var(--style5);"></span>
      梦幻紫
    </div>
    <div class="switcher-option" data-style="6">
      <span class="switcher-color" style="background-color: var(--style6);"></span>
      商务黑
    </div>
  </div>
  
  <div class="container">
    <!-- 风格1：科技蓝评论列表 -->
    <div class="review-list active" id="reviews1">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (128)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.5</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于128条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 65%;"></div>
          </div>
          <div class="distribution-percent">65%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 20%;"></div>
          </div>
          <div class="distribution-percent">20%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 10%;"></div>
          </div>
          <div class="distribution-percent">10%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 3%;"></div>
          </div>
          <div class="distribution-percent">3%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 2%;"></div>
          </div>
          <div class="distribution-percent">2%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (108)</button>
        <button class="filter-btn">中评 (12)</button>
        <button class="filter-btn">差评 (8)</button>
        <button class="filter-btn">有图 (45)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1005/100/100');"></div>
              <div class="user-name">张先生</div>
            </div>
            <div class="review-date">2023-05-15</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">白色</span>
            <span class="review-attribute">标准版</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              音质很好，降噪效果超出预期，戴着跑步也不会掉，续航也不错，充一次电可以用很久。触控操作很灵敏，连接速度也很快，总体来说非常满意。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/96/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/20/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>42</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
        
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1011/100/100');"></div>
              <div class="user-name">李女士</div>
            </div>
            <div class="review-date">2023-05-10</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-o"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">蓝色</span>
            <span class="review-attribute">标准版+充电盒</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              外观很漂亮，蓝色很清新，通话清晰，就是佩戴久了有点不舒服，总体来说值得购买。充电盒很方便，外出携带也不占地方。
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>18</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
        
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1012/100/100');"></div>
              <div class="user-name">王先生</div>
            </div>
            <div class="review-date">2023-05-05</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-o"></i>
            <i class="fa fa-star-o"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">黑色</span>
            <span class="review-attribute">豪华版+收纳袋</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              降噪效果一般，在嘈杂环境下还是能听到很多声音。音质还可以，对得起这个价格。收纳袋质量一般，用了几次就有点开线了。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/119/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>5</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
        
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1027/100/100');"></div>
              <div class="user-name">赵女士</div>
            </div>
            <div class="review-date">2023-04-28</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-half-o"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">绿色</span>
            <span class="review-attribute">标准版</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              续航能力真的很强，我一周充一次电就够了。音质清晰，低音效果不错。唯一的缺点是偶尔会断连，希望后续固件更新能解决这个问题。
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>23</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
    
    <!-- 风格2：活力粉评论列表 -->
    <div class="review-list" id="reviews2">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (328)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.6</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于328条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 70%;"></div>
          </div>
          <div class="distribution-percent">70%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 20%;"></div>
          </div>
          <div class="distribution-percent">20%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 7%;"></div>
          </div>
          <div class="distribution-percent">7%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 2%;"></div>
          </div>
          <div class="distribution-percent">2%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (285)</button>
        <button class="filter-btn">中评 (23)</button>
        <button class="filter-btn">差评 (20)</button>
        <button class="filter-btn">有图 (156)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1027/100/100');"></div>
              <div class="user-name">王女士</div>
            </div>
            <div class="review-date">2023-06-02</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">粉色碎花</span>
            <span class="review-attribute">S</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              裙子太漂亮了，面料轻薄透气，夏天穿正好，花色很显气质，已经推荐给朋友了！版型很好，显瘦效果明显，值得购买。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/64/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/21/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/65/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>128</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
        
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1005/100/100');"></div>
              <div class="user-name">刘女士</div>
            </div>
            <div class="review-date">2023-05-28</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-o"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">蓝色碎花</span>
            <span class="review-attribute">M</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              颜色很正，和图片一样没有色差。面料很舒服，就是有点容易皱，需要经常熨烫。尺码标准，按照推荐的尺寸购买刚好合适。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/62/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>56</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
    
    <!-- 风格3：生态绿评论列表 -->
    <div class="review-list" id="reviews3">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (216)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.5</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于216条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 68%;"></div>
          </div>
          <div class="distribution-percent">68%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 22%;"></div>
          </div>
          <div class="distribution-percent">22%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 7%;"></div>
          </div>
          <div class="distribution-percent">7%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 2%;"></div>
          </div>
          <div class="distribution-percent">2%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (185)</button>
        <button class="filter-btn">中评 (17)</button>
        <button class="filter-btn">差评 (14)</button>
        <button class="filter-btn">有图 (86)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1012/100/100');"></div>
              <div class="user-name">张先生</div>
            </div>
            <div class="review-date">2023-05-20</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">四人份套装</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              非常环保的产品，竹制材料质感很好，没有异味。做工精细，边缘光滑不会伤手。收纳方便，携带也很方便，出去野餐带着特别合适。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/131/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/225/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>78</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
    
    <!-- 风格4：温暖橙评论列表 -->
    <div class="review-list" id="reviews4">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (528)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.7</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于528条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 75%;"></div>
          </div>
          <div class="distribution-percent">75%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 20%;"></div>
          </div>
          <div class="distribution-percent">20%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 4%;"></div>
          </div>
          <div class="distribution-percent">4%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 0%;"></div>
          </div>
          <div class="distribution-percent">0%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (486)</button>
        <button class="filter-btn">中评 (32)</button>
        <button class="filter-btn">差评 (10)</button>
        <button class="filter-btn">有图 (215)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1005/100/100');"></div>
              <div class="user-name">李先生</div>
            </div>
            <div class="review-date">2023-06-10</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">1000g礼盒装</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              坚果非常新鲜，种类丰富，每一种都很好吃。礼盒包装精美，送人特别有面子。生产日期很新，保质期也长，可以慢慢吃。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/292/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/431/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>156</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
    
    <!-- 风格5：梦幻紫评论列表 -->
    <div class="review-list" id="reviews5">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (428)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.6</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于428条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 72%;"></div>
          </div>
          <div class="distribution-percent">72%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 20%;"></div>
          </div>
          <div class="distribution-percent">20%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 6%;"></div>
          </div>
          <div class="distribution-percent">6%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (375)</button>
        <button class="filter-btn">中评 (35)</button>
        <button class="filter-btn">差评 (18)</button>
        <button class="filter-btn">有图 (168)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1027/100/100');"></div>
              <div class="user-name">陈女士</div>
            </div>
            <div class="review-date">2023-05-15</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">50ml</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              这款精华液真的很好用，补水效果明显，用了一段时间后皮肤变得水润有弹性。质地清爽不油腻，吸收很快，敏感肌也可以放心使用。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/99/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>215</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
    
    <!-- 风格6：商务黑评论列表 -->
    <div class="review-list" id="reviews6">
      <div class="page-header">
        <button class="back-btn"><i class="fa fa-arrow-left"></i></button>
        <h1 class="page-title">商品评价 (156)</h1>
        <div class="header-actions">
          <button class="header-btn"><i class="fa fa-ellipsis-v"></i></button>
        </div>
      </div>
      
      <div class="rating-overview">
        <div class="total-rating">4.7</div>
        <div class="rating-stars">
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star"></i>
          <i class="fa fa-star-half-o"></i>
        </div>
        <div class="rating-count">基于156条评价</div>
      </div>
      
      <div class="rating-distribution">
        <div class="distribution-title">评分分布</div>
        <div class="distribution-item">
          <div class="distribution-star">5星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 70%;"></div>
          </div>
          <div class="distribution-percent">70%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">4星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 25%;"></div>
          </div>
          <div class="distribution-percent">25%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">3星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 4%;"></div>
          </div>
          <div class="distribution-percent">4%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">2星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 1%;"></div>
          </div>
          <div class="distribution-percent">1%</div>
        </div>
        <div class="distribution-item">
          <div class="distribution-star">1星</div>
          <div class="distribution-bar-container">
            <div class="distribution-bar" style="width: 0%;"></div>
          </div>
          <div class="distribution-percent">0%</div>
        </div>
      </div>
      
      <div class="review-filter">
        <button class="filter-btn active">全部评价</button>
        <button class="filter-btn">好评 (142)</button>
        <button class="filter-btn">中评 (10)</button>
        <button class="filter-btn">差评 (4)</button>
        <button class="filter-btn">有图 (78)</button>
      </div>
      
      <div class="reviews-container">
        <div class="review-item">
          <div class="review-header">
            <div class="user-info">
              <div class="user-avatar" style="background-image: url('https://picsum.photos/id/1012/100/100');"></div>
              <div class="user-name">赵先生</div>
            </div>
            <div class="review-date">2023-06-05</div>
          </div>
          <div class="rating-stars">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <div class="review-attributes">
            <span class="review-attribute">i7/16GB/512GB</span>
            <span class="review-attribute">深空灰</span>
          </div>
          <div class="review-body">
            <div class="review-content">
              电脑非常轻薄，性能强劲，开机速度快，运行流畅。屏幕显示效果出色，色彩还原准确。续航能力强，充满电可以用一整天。散热效果也不错，长时间使用不会很烫。
            </div>
            <div class="review-images">
              <div class="review-image" style="background-image: url('https://picsum.photos/id/160/200/200');"></div>
              <div class="review-image" style="background-image: url('https://picsum.photos/id/119/200/200');"></div>
            </div>
          </div>
          <div class="review-meta">
            <div class="review-actions">
              <div class="review-action">
                <i class="fa fa-thumbs-o-up"></i>
                <span>98</span>
              </div>
              <div class="review-action">
                <i class="fa fa-comment-o"></i>
                <span>回复</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <div class="load-more">
        <button class="load-more-btn">加载更多</button>
      </div>
    </div>
  </div>
  
  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 当前状态
    let currentStyle = 1;
    
    // DOM元素
    const switcherToggle = document.querySelector('.switcher-toggle');
    const switcher = document.querySelector('.style-switcher');
    const switcherClose = document.querySelector('.switcher-close');
    const switcherOptions = document.querySelectorAll('.switcher-option');
    const reviewPages = {
      1: document.getElementById('reviews1'),
      2: document.getElementById('reviews2'),
      3: document.getElementById('reviews3'),
      4: document.getElementById('reviews4'),
      5: document.getElementById('reviews5'),
      6: document.getElementById('reviews6')
    };
    const bodyElement = document.body;
    const backButtons = document.querySelectorAll('.back-btn');
    const filterButtons = document.querySelectorAll('.filter-btn');
    const loadMoreButtons = document.querySelectorAll('.load-more-btn');
    const likeButtons = document.querySelectorAll('.review-action i.fa-thumbs-o-up');
    
    // 初始化
    function init() {
      // 初始化筛选按钮
      initFilterButtons();
      
      // 初始化点赞按钮
      initLikeButtons();
      
      // 初始化加载更多
      initLoadMore();
      
      // 切换器控制
      switcherToggle.addEventListener('click', toggleSwitcher);
      switcherClose.addEventListener('click', toggleSwitcher);
      
      // 切换样式
      switcherOptions.forEach(option => {
        option.addEventListener('click', function() {
          const style = parseInt(this.getAttribute('data-style'));
          switchStyle(style);
          toggleSwitcher();
        });
      });
      
      // 键盘导航切换样式
      document.addEventListener('keydown', function(e) {
        if (e.key === 'ArrowLeft') {
          let prev = currentStyle - 1;
          if (prev < 1) prev = 6;
          switchStyle(prev);
        } else if (e.key === 'ArrowRight') {
          let next = currentStyle + 1;
          if (next > 6) next = 1;
          switchStyle(next);
        }
      });
      
      // 返回按钮
      backButtons.forEach(btn => {
        btn.addEventListener('click', function() {
          // 返回商品详情页
          history.back();
        });
      });
    }
    
    // 初始化筛选按钮
    function initFilterButtons() {
      filterButtons.forEach(btn => {
        btn.addEventListener('click', function() {
          // 找到同组中的其他按钮
          const parent = this.parentElement;
          parent.querySelectorAll('.filter-btn').forEach(button => {
            button.classList.remove('active');
          });
          
          // 激活当前按钮
          this.classList.add('active');
        });
      });
    }
    
    // 初始化点赞按钮
    function initLikeButtons() {
      likeButtons.forEach(icon => {
        const action = icon.parentElement;
        action.addEventListener('click', function() {
          if (icon.classList.contains('fa-thumbs-o-up')) {
            icon.classList.remove('fa-thumbs-o-up');
            icon.classList.add('fa-thumbs-up');
            
            // 增加点赞数
            const countElem = icon.nextElementSibling;
            let count = parseInt(countElem.textContent);
            countElem.textContent = count + 1;
          } else {
            icon.classList.remove('fa-thumbs-up');
            icon.classList.add('fa-thumbs-o-up');
            
            // 减少点赞数
            const countElem = icon.nextElementSibling;
            let count = parseInt(countElem.textContent);
            countElem.textContent = count - 1;
          }
        });
      });
    }
    
    // 初始化加载更多
    function initLoadMore() {
      loadMoreButtons.forEach(btn => {
        btn.addEventListener('click', function() {
          this.textContent = '加载中...';
          
          // 模拟加载延迟
          setTimeout(() => {
            this.textContent = '加载更多';
            alert('已加载全部评价');
          }, 1000);
        });
      });
    }
    
    // 切换样式选择器显示/隐藏
    function toggleSwitcher() {
      switcher.classList.toggle('hidden');
    }
    
    // 关闭所有页面
    function closeAllPages() {
      Object.values(reviewPages).forEach(page => {
        page.classList.remove('active');
      });
    }
    
    // 切换样式
    function switchStyle(style) {
      // 移除所有样式类
      bodyElement.classList.remove('style-1', 'style-2', 'style-3', 'style-4', 'style-5', 'style-6');
      
      // 添加当前样式类
      bodyElement.classList.add(`style-${style}`);
      
      // 更新当前样式
      currentStyle = style;
      
      // 更新切换器选中状态
      switcherOptions.forEach(option => {
        option.classList.remove('active');
        if (parseInt(option.getAttribute('data-style')) === style) {
          option.classList.add('active');
        }
      });
      
      // 显示对应页面
      closeAllPages();
      reviewPages[style].classList.add('active');
    }
    
    // 启动
    init();
  </script>
</body>
</html>
